import java.util.Locale;

public class StringFormat {
        public static void main(String args[]) {
            double e= Math.E;
            System.out.printf("e的值是：%f%n",e);
            System.out.printf(Locale.CHINA,"%-10.4f%n%n",e);
    }
}
